#ifndef MAINLASER_H_
#define MAINLASER_H_

typedef struct ray_node
{
	float intensity;
	struct ray_node *next;
	float x;
	float length;
	float y_tail;
	float y_hit;
} Ray;

Ray *rays_enabled_head;
Ray *rays_disabled_head;

void raysInit();

Ray *getRayGetNew();

void rayDisable(Ray *toBeRemoved, Ray *prev);

void raysDrawUpdate();

void rayShoot(int power);

#endif /*MAINLASER_H_*/
